package com.east.service.department;

import java.util.List;

import com.east.bean.Department;
import com.east.bean.DictionaryItems;
import com.east.controller.department.DepartmentTree;

public interface DepartmentService {
	/**
	 * 全查
	 * @return
	 */
	List<DictionaryItems> findAll();
	/**
	 * 组织架构树
	 * @return
	 */
	List<DepartmentTree> findTree();
	/**
	 * 详情
	 * @param department
	 * @return
	 */
	Department findByDepartment(Department department);
	/**
	 * 添加
	 * @param department
	 * @return
	 */
	int saveDepartMent(Department department);
	/**
	 * 修改
	 * @param department
	 * @return
	 */
	int updateDepartMent(Department department);
	/**
	 * 删除
	 * @param department
	 * @return
	 */
	int delDepartMent(Department department);
}
